package com.cdcas;

import java.util.HashSet;
import java.util.Set;

public class Book3Test {
    public static void main(String[] args) {
        Set<Book3> all = new HashSet<>();
        all.add(new Book3("java","a",110));
        all.add(new Book3("java","a",110));
        all.add(new Book3("python","b",100));
        all.add(new Book3("C","zhangsan",58));
        all.forEach(System.out::println);
    }
}
